interface IKun {
    name: string
    age: number
    slogan: string
}

interface Person {
    sex: "男" | "女"
}

interface IRun {
    running: () => void
}

const ikun: IKun = {
    slogan: "哎哟，你干嘛",
    name: "蔡徐坤",
    age: 30
}

// 类实现这些接口  可以实现多个
class IkunFans implements IKun, Person, IRun {
    name = "蔡徐坤粉丝一号"
    age = 123
    slogan = "唱跳rap"
    sex: "男" | "女" = "男"

    running() { }
}

const fans = new IkunFans()

fans.running()

export { }